-
Home
-
Vitepos – Point of sale (POS) for WooCommerce
-
1.2
-
Code
-
Classes
- Pos_Product_Api
Total Complexity |
67 |
Dependencies |
10 |
Dependents |
1 |
Total lines |
521 |
Lines of code |
333 |
Logical lines of code |
228 |
Comment lines |
143 |
Methods |
20 |
Properties |
0 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_variation_product() |
B |
35 |
16 |
86 |
test() |
A |
51 |
9 |
25 |
delete_product() |
S |
50 |
6 |
30 |
get_attributes() |
S |
51 |
6 |
26 |
attributes() |
S |
51 |
3 |
28 |
query_search_filter() |
S |
63 |
4 |
11 |
set_route_permission() |
S |
64 |
4 |
11 |
product_with_variation_list() |
S |
54 |
2 |
21 |
product_list() |
S |
57 |
2 |
16 |
get_product_stock_by_id() |
S |
60 |
2 |
13 |
get_stock() |
S |
63 |
2 |
10 |
delete_variationProduct() |
S |
66 |
2 |
9 |
product_details() |
S |
63 |
2 |
10 |
scan_product() |
S |
68 |
1 |
7 |
categories() |
S |
72 |
1 |
5 |
routes() |
S |
64 |
1 |
9 |
call_product_action() |
S |
72 |
1 |
5 |
call_product_variation_action() |
S |
79 |
1 |
3 |
get_product_by_id() |
S |
72 |
1 |
5 |
set_api_base() |
S |
82 |
1 |
3 |